package com.vcc.service.boss.request.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@Getter
@Setter
public class UserRegisterDto implements Serializable {

    private String account;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;

    @NotBlank(message = "支付密码不能为空")
    private String payPassword;

    private String remark;

    @NotNull(message = "角色不能为空")
    private Long roleId;

    @NotBlank(message = "邮箱验证码不能为空")
    private String emailCode;

}
